package com.amc.wxSend.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * mot批量发送记录
 *
 * @author ZhangXX
 * @date @2023/6/7 14:07
 */
@ApiModel(value = "WxBatchSendLog", description = "wx批量发送记录")
@TableName(value = "wx_batchsend_log")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class WxBatchSendLog {

    @TableId(value = "id",type = IdType.ASSIGN_ID)
    private Long id;

    @ApiModelProperty(value = "批次调用")
    @TableField(value = "batch_code")
    private String batchCode;

    @ApiModelProperty(value = "批次类型")
    @TableField(value = "batch_type")
    private String batchType;

    @ApiModelProperty(value = "系统类型")
    @TableField(value = "sys_type")
    private String sysType;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "create_time",fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(value = "update_time",fill = FieldFill.UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    @ApiModelProperty(value = "发送状态 BatchSendStatus")
    @TableField(value = "send_status")
    private String sendStatus;

}
